<template>
  <div class="box">
    <b>欢迎登陆后台管理系统</b>
  </div>
</template>
<script>
import api from "../../util/api";
// 引入微信sdk
import cloudbase from "@cloudbase/js-sdk";
// 初始化SDK
const app = cloudbase.init({
  env: api.envid,
});
export default {
  data() {
    return {};
  },
  mounted() {
    // 执行某种登录之后...
    const user = app.auth().currentUser;
    console.log(user);
  },
};
</script>
<style scoped>
.box {
  position: absolute;
  height: 94%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}
</style>